import PageTools from './PageTools/index.vue'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import Print from 'vue-print-nb'
import screenFull from './screenFull'
import ThemePicker from './ThemePicker'
import lang from './lang'
import TagsView from './TagsView'
export default {
  install(Vue) {
    // 注册全局的通用栏组件对象
    Vue.component('PageTools', PageTools)
    // 注册导入excel组件,//1.组件名为"UploadExcel"; 2.data 写函数; 3.template 写组件的内容（元素和触发的事件）
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.use(Print)
    Vue.component('screenFull', screenFull)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('lang', lang)
    Vue.component('TagsView', TagsView)
  }
}
